package com.yangming.mapper;

import com.yangming.model.EmptyCartService;

import java.util.List;
import java.util.Map;

public interface EmptyCartServiceMapper {
    /**
     *
     * @mbggenerated 2018-09-10
     */
    int deleteByPrimaryKey(Integer id);

    /**
     *
     * @mbggenerated 2018-09-10
     */
    int insert(EmptyCartService record);

    /**
     *
     * @mbggenerated 2018-09-10
     */
    int insertSelective(EmptyCartService record);

    /**
     *
     * @mbggenerated 2018-09-10
     */
    EmptyCartService selectByPrimaryKey(Integer id);
    /**
     *
     * 查询详情
     */
    EmptyCartService selectOne(Integer id);

    /**
     *
     * @mbggenerated 2018-09-10
     */
    int updateByPrimaryKeySelective(EmptyCartService record);

    /**
     *
     * @mbggenerated 2018-09-10
     */
    int updateByPrimaryKey(EmptyCartService record);
    /**
     * 根据出发地查询空板车服务
     * @return
     */
    List<EmptyCartService> selectListByDepartureId(Integer departureId);
    /**
     * 匹配空板车服务
     * @return
     */
    List<EmptyCartService> MatchingServiceByFilter(Map map);
    /**
     * 分页查询
     * @return
     */
    List<EmptyCartService> selectListByPage(Map map);
}